﻿/**
 
 @Name: swui
 @Author: Zxq
 @Site: 
 
 */

/*小助手*/
.swui-helper {
    width: 150px;
    height: 150px;
    right: 48px;
    bottom: 40px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 30000002;
    position: absolute;
}
.swui-helper.on {
    animation: helperShow 1s;
    -moz-animation: helperShow 1s;    
    -webkit-animation: helperShow 1s;    
    -o-animation: helperShow 1s;
}
.swui-helper.off {
    animation: helperHide 1s;
    -moz-animation: helperHide 1s;    
    -webkit-animation: helperHide 1s;
    -o-animation: helperHide 1s;
    animation-fill-mode: forwards;
}
@keyframes helperShow {/*从小变大*/
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}
@keyframes helperHide {/*从大变小*/
    from {
        transform: scale(1);
    }
    to {
        transform: scale(0);
    }
}
.taskbarInTop.taskShow .swui-taskbar {
    animation-duration: .5s;
    animation-fill-mode: both;
    animation-name: topShow;
}
.taskbarInTop.taskHide .swui-taskbar {
    animation-duration: .5s;
    animation-fill-mode: both;
    animation-name: topHide;
}

.swui-bubble {
    width:150px;
    position: relative;
    background-color: #fff;
    border: 1px solid #dedede;
    padding: 10px 15px;
    box-sizing: border-box;
    border-radius: 8px;
    word-break: break-all;
    cursor: default;
    font-size: 13px;
    line-height: 20px;
}
.swui-bubble.top{
    top:-10px;
    transform: translateY(-100%);
}
.swui-bubble.top:before {
    content: '';
    width: 12px; 
    height: 12px;
    background-color: inherit;
    border-right: 1px solid #dedede;
    border-bottom: 1px solid #dedede;
    bottom: -7px;
    position: absolute;
    transform: rotate(45deg); /*旋转45度*/
    margin-left: 52px;
}
.swui-bubble.right{
    left:130px;
}
.swui-bubble.right:before {
    content: '';
    width: 12px; 
    height: 12px;
    background-color: inherit;
    border-left: 1px solid #dedede;
    border-bottom: 1px solid #dedede;
    left: -7px;
    position: absolute;
    transform: rotate(45deg); /*旋转45度*/
    top: 50%;
    margin-top: -7px;
}
.swui-bubble.left{
    right:130px;
}
.swui-bubble.left:before {
    content: '';
    width: 12px; 
    height: 12px;
    background-color: inherit;
    border-top: 1px solid #dedede;
    border-right: 1px solid #dedede;
    right: -7px;
    position: absolute;
    transform: rotate(45deg); /*旋转45度*/
    top: 50%;
    margin-top: -7px;
}
.swui-guide-operate {
    height:20px;
    margin-bottom:-5px;
}
.swui-guide-operate a {
    color: #0063B1!important;
    float: right;
}
.swui-guide-operate a:not(:last-child) {
    margin-left:10px;
}
.swui-guide-operate a:not(:last-child):before{
    position: absolute;
    content: '';
    border-left: 1px solid #999;
    margin-top: 4px;
    margin-left: -5px;
    height: 12px;
}
.swui-guide{
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 30000001;
    background-color: transparent;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: none;
    border: none;
}
.swui-guide-body{
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    position: absolute;
    border: 2px solid red;
}
.swui-guide-top,.swui-guide-left,.swui-guide-right,.swui-guide-bottom{
    background-color: rgba(0, 0, 0, 0.6);
    position: absolute;
}
.swui-guide-top{
    left:0;
    right:0;
}
.swui-guide-bottom{
    left:0;
    right:0;
    bottom:0;
}
.swui-guide-left{
    left:0;
}
.swui-guide-right{
    right:0;
}
ul.swui-helper-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 75px;
    left: 30px;
    width: 100px;
    height: 75px;
    display: none;
}
ul.swui-helper-menu li {
    float: left;
    background-color: rgba(1,1,1,0.9);
    border:1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    display: none;
    margin-left: 5px;
    margin-bottom: 5px;
    border-radius: 3px;
    cursor: pointer;
}
ul.swui-helper-menu li:nth-child(3n+1) {
    margin-left: 0;
}
ul.swui-helper-menu li:hover {
    background-color: rgba(100,100,100,0.9);
    color: #F0F0F0;
}
ul.helper-contextmenu {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    width: 84px;
    display: none;
}
.taskbarInLeft ul.helper-contextmenu {
    left:48px;
}
.taskbarInRight ul.helper-contextmenu {
    right:48px;
}
.taskbarInBottom ul.helper-contextmenu {
    bottom: 40px;
}
.taskbarInTop ul.helper-contextmenu {
    top: 40px;
}
ul.helper-contextmenu li {
    float: left;
    background-color: rgba(1,1,1,0.9);
    color: #fff;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    cursor: pointer;
}
ul.helper-contextmenu li:hover {
    background-color: rgba(100,100,100,0.9);
    color: #F0F0F0;
}
.swui-taskbar-helper:hover ul.helper-contextmenu {
    display: block;
}